<template>
  <div class="zm-page">
    <slot />
  </div>
</template>

<script>
/*
  功能描述  page
  创建人    zgf
  更新时间  2019/06/04
  备注      
*/
export default {
  name: 'ZmPage',
  props: {
    //是否显示市场部按钮
    showScbBtn: {
      type: Boolean,
      default: false
    },
    //市场部按钮的位置 top值,单位rem
    scbTop: {
      type: Number,
      default: 4.5
    },
    //是否显示消息列表
    showMsg: {
      type: Boolean,
      default: false
    },
    //是否检查当前用户基本联系方式已经维护
    checkContactInfo: {
      type: Boolean,
      default: true
    },
    schoolid: {
      type: String,
      default: ''
    }
  },
  computed: {
  },
  data() {
    return {
    }
  },
  mounted() {
  },
  watch: {
  },
  methods: {
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style  lang="less">
@import '../../css/mixin.less';
.zm-page {
  position: fixed;
  z-index: 2;
  background-color: #f7f7f7;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-width: @bodyMaxWidth;
  .zm-page {
    z-index: 100;
  }
}
@media screen and (min-width: @bodyMaxWidth) {
  .zm-page {
    left: 50%;
    margin-left: -@bodyMaxWidth / 2;
    .van-tabbar {
      width: @bodyMaxWidth;
      left: 50%;
      margin-left: -@bodyMaxWidth / 2;
    }
  }
}
.zm-page-inner {
  width: 100%;
  height: 100%;
}
</style>
